package model.led.concurrent;

import framework.common.SingleSensor;

public class LEDSensor extends SingleSensor {

	@Override
	public Object getAttribute(String attr) {
		Object value = super.getAttribute(attr);
		System.out.println("read " + attr + " " + ((Integer)value).intValue());
		return value;
	}

	@Override
	public void setAttribute(String attr, Object value) {
		System.out.println("write " + attr + " " + ((Integer)value).intValue());
		super.setAttribute(attr,  value);
	}

}
